package cn.powerone.scm.service;

import java.util.List;
import cn.powerone.scm.domain.ScmCustomerAddress;
import cn.powerone.scm.domain.ScmCustomerContacts;

/**
 * 客户地址Service接口
 * 
 * @author PowerOne
 * @date 2025-06-23
 */
public interface IScmCustomerAddressService 
{
    /**
     * 查询客户地址
     * 
     * @param id 客户地址主键
     * @return 客户地址
     */
    public ScmCustomerAddress selectScmCustomerAddressById(Long id);

    /**
     * 查询客户地址列表
     * 
     * @param scmCustomerAddress 客户地址
     * @return 客户地址集合
     */
    public List<ScmCustomerAddress> selectScmCustomerAddressList(ScmCustomerAddress scmCustomerAddress);

    /**
     * 新增客户地址
     * 
     * @param scmCustomerAddress 客户地址
     * @return 结果
     */
    public int insertScmCustomerAddress(ScmCustomerAddress scmCustomerAddress);

    /**
     * 修改客户地址
     * 
     * @param scmCustomerAddress 客户地址
     * @return 结果
     */
    public int updateScmCustomerAddress(ScmCustomerAddress scmCustomerAddress);

    /**
     * 批量删除客户地址
     * 
     * @param ids 需要删除的客户地址主键集合
     * @return 结果
     */
    public int deleteScmCustomerAddressByIds(Long[] ids);

    /**
     * 删除客户地址信息
     * 
     * @param id 客户地址主键
     * @return 结果
     */
    public int deleteScmCustomerAddressById(Long id);


    String importData(List<ScmCustomerAddress> scmCustomerAddresses, boolean updateSupport, String operName);
}
